/* 实现页面占视口100% */
/* 在 clean.css 中 */
html,
body {
  height: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.top-header {
  height: 140px; /* 固定高度 */
}
/* 结束 */
html {
  background-color: #fafafa;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.container1 {
  flex: 1;
  display: flex;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  align-items: stretch;
}
.nav1 {
  width: 15%;
  height: 250px;
  margin-top: 10px;
  margin-right: 30px;
  display: flex;
  background-color: #ffffff;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border-radius: 5px;
}
.options {
  width: 180px;
  height: 70px;
  display: flex;
  font-size: 18px;
  align-items: center;
  text-align: center;
  padding: 10px 0;
  margin-left: 10px;
}
.options img {
  width: 15%;
  height: 85%;
  margin-right: 5%;
}
.options:first-child {
  margin-top: 10px;
}
.options:last-child {
  margin-bottom: 10px;
}
.options:hover {
  background-color: #e5f3fe;
}

.news-list {
  width: 65%;
  background-color: #ffffff;
  flex: 1;
  margin-top: 10px;
}
.newsPicture {
  width: 25%;
  height: 20%;
  margin-right: 15px;
}
.list {
  margin-top: 10px;
  padding: 20px 20px;
  display: flex;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url(../images/14.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.4s ease-out;
  z-index: 0;
}

.list:hover::before {
  opacity: 0.9;
}

.list > * {
  position: relative;
  z-index: 1;
}

.list:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}
.news-title {
  font-size: 20px;
  color: black;
  text-decoration: none;
}
.information,
span,
p {
  color: #817f7f;
}
.information span {
  margin-right: 50px;
  display: inline-block;
  padding-top: 10px;
}

.information {
  position: relative;
  padding-bottom: 15px;
}

.information p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0;
  line-height: 1.5;
  margin-top: 20px;
}
.pagination {
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.pagination-info {
  margin-bottom: 15px;
  color: #666;
  font-size: 14px;
}

.pagination-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination button {
  padding: 6px 12px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination button:hover {
  border-color: #4285f4;
  color: #4285f4;
}

.pagination button.active {
  background-color: #4285f4;
  color: white;
  border-color: #4285f4;
}

.pagination button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  border-color: #ddd;
  color: #999;
  background-color: #f5f5f5;
}

.pagination span {
  color: #666;
  margin: 0 4px;
}

.pagination-jump {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 15px;
}

.pagination-jump input {
  width: 50px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.pagination-jump button {
  white-space: nowrap;
}
/* hover的字体颜色 */
.list:hover .news-title,
.list:hover .information,
.list:hover .information span,
.list:hover .information p {
  color: #19519c;
}
